const fs = require('fs');

const content = fs.readFileSync('./龙啸大明.txt').toString();

const line = content.split('\n').map(l => l.replace(/\s*/g, ''));
const uniqLine = [...new Set(line)];

fs.writeFileSync('./龙啸大明1.txt', uniqLine.join('\n\n'))
